package com.lkd.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 商品类别表
 * </p>
 *
 * @author zzy
 * @since 2025-10-10
 */
@Data
@TableName("tb_node")
public class Node implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 点位id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 点位名称
     */
    private String name;
    /**
     * 点位详细地址
     */
    private String addr;
    /**
     * 所在区域id
     */
    private String areaCode;
    /**
     * 创建人id
     */
    private Integer createUserId;
    /**
     * 区域id
     */
    private Long regionId;
    /**
     * 商圈id
     */
    private Integer businessId;
    /**
     * 点位主Id
     */
    private Integer ownerId;
    /**
     * 点位主名称
     */
    private String ownerName;
    /**
     * 更改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

//    @TableField(exist = false)
//    private Long vmCount;
}
